package com.yonyou.pmclouds.basecom.conf;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "storage.alioss")
public class AliTokenProperties {
	// #阿里云配置
	private String ossType;//obs,oos
	private String accessKeyID;
	private String accessKeySecret;
	private String roleArn;
	private String tokenExpireTime;
	private String policyFile;
	// #阿里云endpoint
	private String endpoint;
	// #空间名
	private String bucketname;
	// #连接超时
	private String connectiontimeout;
	// #socket超时
	private String sockettimeout;
	// #最大并发请求数
	private String maxconcurrentrequest;
	// #失败后最大重试次数
	private String maxerrorretry;

	private String region;

	private String apiversion;
    // 超时时间
    private long expires;
}
